/**
 * Created by zhaohenry on 2017/6/12.
 */
import * as types from './mutation-types'

export default {
  updateStep ({ commit }, num) {
    commit(types.UPDATE_STEP, num)
  },
  serverStep ({ commit }, num) {
    commit(types.SERVER_STEP, num)
  },
  taskINFO ({ commit }, payload) {
    commit(types.TASK_INFO, payload)
  },
  currentTask ({ commit }, payload) {
    commit(types.CURRENT_TASK, payload)
  }
}
